package com.halixun.d2app.base;

import android.content.Context;
import android.view.View;

import androidx.recyclerview.widget.RecyclerView;

/**
 * @ProjectName: D2App
 * @Package: com.halixun.d2app.base
 * @ClassName: BaseViewHolder
 * @Description: java类作用描述
 * @Author: hdx
 * @CreateDate: 2019/11/28 18:12
 * @UpdateUser: hdx
 * @UpdateDate: 2019/11/28 18:12
 * @UpdateRemark: 更新说明：
 * @Version: 1.0
 */
public abstract class BaseViewHolder<T> extends RecyclerView.ViewHolder {
    protected Context mContext;

    public BaseViewHolder(View itemView) {
        super(itemView);
        mContext = itemView.getContext();
    }

    public abstract void setLayoutInfo(T info);

    public void setLayoutInfo(T info, int tag){

    }
}
